package com.specialized.coupon.remote;

import com.specialized.common.core.domain.Result;
import com.specialized.coupon.domain.CouponSession;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("specialized-coupon")
public interface CouponServiceRemote {


    /**
     * 查询优惠卷场次关系列表
     */
    @GetMapping("/CouponSession/list")
    public Result<CouponSession> list(CouponSession couponSession);


    @PostMapping("/CouponSession/findCouponSession")
    public Result<List<CouponSession>> findCouponSession(@RequestBody CouponSession couponSession);






}
